
import router from "@/router";

let configRouter = [
  {
    path: "/",
    name: "login",
    meta: {
      title: "Login - 登录",
    },
    component: () => import("@/view/login/login.vue")
  }
];

router.addRoutes(configRouter);

router.beforeEach((to, from, next) => {
  router.customBeforeEach(to, from, next, configRouter);
});

router.afterEach(to => {
  router.customAfterEach(to);
});


export default router;
